﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace warehouse
{
    class updater
    {
        public delegate void LoopCallbackHandler(string data,string code,string result);

        [DllImport("updateDll.dll")]
        public static extern int  Check(string szUrl, LoopCallbackHandler eventHandle,string data);
        [DllImport("updateDll.dll")]
        public static extern int DownLoad(string szUrl, LoopCallbackHandler eventHandle, string data);
    }
}
